/**
 *
 * 塔级别配置文件
 * @author 
 *
 */
class TowerLevel {
    /**塔类型键值*/
    public static towNameArr: string[] = ["ArrowTower-","ShieldTower-","MagicTower-","ExploTower-"];
    /**塔升级键值*/
    public static keyNameArr: string[] = ["lv01-lv02","lv02-lv03_1","lv02-lv03_2"];
    
    //箭塔升级配置
    public static AttackTower: any =  {"lv01-lv02":false,"lv02-lv03_1":false,"lv02-lv03_2":false};
    //防御塔升级配置
    public static ShieldTower: any = {"lv01-lv02":false,"lv02-lv03_1":false,"lv02-lv03_2":false};
    //魔法塔升级配置
    public static MagicTower: any =  {"lv01-lv02":false,"lv02-lv03_1":false,"lv02-lv03_2":false};
    //炮塔升级配置
    public static ExploTower: any =  {"lv01-lv02":false,"lv02-lv03_1":false,"lv02-lv03_2":false };
    
    public static soldierData:any = {
        //1：范围伤害；2：攻击增强；3：反伤；4：平摊伤害；5：百分比伤害；6：重伤；7：被攻击回血；8：致盲；
        "s01": { "type": "human2-1-1","price": 10,"life": 38,"maxSpeed": 0.6,"damage": 38,"fireDelay": 500,"suckBlood": 0,"specialType": 13,"value": 1,"attackType": 1,"label": "列卒","info": "战斗开始时额外召唤三个枪兵，召唤的枪兵到达终点给敌方造成3点伤害","tip": "到达终点给对方造成3点伤害","unitTip": "人族","min":50},
        "s02": { "type": "xinshe","price": 20,"life": 440,"maxSpeed": 0.7,"damage": 60,"fireDelay": 700,"suckBlood": 0,"specialType": 1,"value": 2,"attackType": 1,"label": "信蛇","info": "对目标附近单位造成同等伤害","tip": "到达终点给对方造成20伤害","unitTip": "人族","min": 70},
        "s03": { "type": "human2-3","price": 20,"life": 200,"maxSpeed": 0.6,"damage": 110,"fireDelay": 700,"suckBlood": 0,"specialType": 0,"value": 2,"attackType": 2,"label": "鬼弓","info": "射程远，攻速快","tip": "到达终点给对方造成20伤害","unitTip": "人族","min": 120},
        "s04": { "type": "jinwei","price": 30,"life": 960,"maxSpeed": 0.5,"damage": 120,"fireDelay": 1100,"suckBlood": 0,"specialType": 4,"value": 1,"attackType": 1,"label": "近卫","info": "目标周围所有敌方单位均摊伤害","tip": "到达终点给对方造成30伤害","unitTip": "夸父","min": 60 },
        "s05": { "type": "s14","price": 30,"life": 200,"maxSpeed": 0.6,"damage": 96,"fireDelay": 1000,"suckBlood": 0,"specialType": 14,"value": 3,"attackType": 3,"label": "云影","info": "幻化一个拥有同等攻击力的幻象，任何伤害都会使幻象消失\n幻象到达终点不会造成伤害","tip": "到达终点给对方造成30伤害","unitTip": "魅","min": 100 },
        "s06": { "type": "s04","price": 40,"life": 360,"maxSpeed": 0.6,"damage": 136,"fireDelay": 800,"suckBlood": 0,"specialType": 8,"value": 3,"attackType": 3,"label": "天光","info": "攻击使单位致盲，有20%几率攻击失效","tip": "到达终点给对方造成20伤害","unitTip": "魅","min": 100 },
        "s07": { "type": "human2-2","price": 40,"life": 990,"maxSpeed": 0.8,"damage": 137,"fireDelay": 800,"suckBlood": 0,"specialType": 2,"value": 0.2,"attackType": 1,"label": "铁浮屠","info": "每次攻击提升20%伤害","tip": "到达终点给对方造成40伤害","unitTip": "人族","min": 80},        
        
        "s01_1": { "type": "human2-1-1","price": 4,"life": 50,"maxSpeed": 0.6,"damage": 50,"fireDelay": 500,"suckBlood": 0,"specialType": 0,"value": 1,"attackType": 1,"label": "列卒","info": "战斗开始时额外召唤两个枪兵","tip": "","unitTip": "人族","min": 50 },
        "s05_1": { "type": "s14","price": 0,"life": 1,"maxSpeed": 0.6,"damage": 96,"fireDelay": 1000,"suckBlood": 0,"specialType": 0,"value": 3,"attackType": 3,"label": "云影","info": "幻化一个拥有同等攻击力的幻象，任何伤害都会使幻象消失","tip": "","unitTip": "魅","min": 100 },

        "myLord": { "type": "ShieldTower03_2","life": 3000,"maxSpeed": 0.6,"damage": 300,"fireDelay": 700,"specialType": 0,"attackType": 2,"unitType": 4 },
        "myTower": { "type": "ArrowTower02","life": 1000,"maxSpeed": 0.6,"damage": 150,"fireDelay": 700,"specialType": 0,"attackType": 2,"unitType": 4 },
        "enemyLord": { "type": "ShieldTowerBlue03","life": 8000,"maxSpeed": 0.6,"damage": 700,"fireDelay": 700,"specialType": 0,"attackType": 2,"unitType": 4 },
        "enemyTower": { "type": "ArrowTowerBlue01","life": 4000,"maxSpeed": 0.6,"damage": 300,"fireDelay": 700,"specialType": 0,"attackType": 2,"unitType": 4 },
        
        "gold": { "res": "gold","price": 120,"life": 0,"damage": 0,"label": "军饷","info": "金铢每秒产量+1","tip": "","unitTip": "科技"},
        "arrow": { "res": "gj01","price": 120,"life": 0,"damage": 0,"label": "利箭","info": "提升所有箭塔伤害","tip": "","unitTip": "科技" },
        "tower": { "res": "life","price": 120,"life": 0,"damage": 0,"label": "天工","info": "提升所有箭塔生命值恢复速度","tip": "","unitTip": "科技" },

        "SellTower": { "className": "SellTower","res": "sell","price": 0 },
        "LockTower": { "className": "LockTower","res": "lock","price": 0 },
        
    };
    

}
